﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../common/taglibs.jsp" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>方案中心</title>
    <link href="${contextPath }/acss/jjfa.css" rel="stylesheet" />
    <link href="${contextPath }/acss/common.css" rel="stylesheet" />
    <link href="${contextPath }/acss/selectInfo.css" rel="stylesheet" />
    <script src="${contextPath }/js/jquery-1.7.1.min.js"></script>
    
    
    <link href="${contextPath }/acss/b2c.css" rel="stylesheet" />
    <link href="${contextPath }/acss/b2c_pub.css" rel="stylesheet" />
    <link href="${contextPath }/acss/rightcommon.css" rel="stylesheet" />
</head>

<body>
            

	<%@include file="../common/header.jsp" %>


	<div class="container" style="height: auto;">

        <div class="navlevel">
            <span class="firstlevel">解决方案 ></span>
            <span class="nextlevel">${params.projTag }</span>
        </div>

        <div class="left_menu">
            <div class="hytype">
                <label>行业分类</label>
            </div>
            <aside class="topabsolute">

                <div class="side_small tag_line float_l">
                    <div class="mainProNav">
                    	<c:forEach items="${classfyMap }" var="item">
                        <dl class="navM1">
                            <dt>
                                <a class="zd" href="#">${item.key } ></a>

                            </dt>
                            <dd>
                            	<c:forEach items="${item.value }" var="item2">
                                <a href="${contextPath }/proj/list.htm?projTag=${item2.dictdataText}">${item2.dictdataText }</a>
                                </c:forEach>
                            </dd>
                        </dl>
                        </c:forEach>
                    </div>
                    <!-- mainProNav end -->

                </div>

            </aside>


        </div>
        <div class="right_html">
            <div class="Searchcase">
            <form action="${contextPath }/proj/list.htm" method="get">
                <input class="SeachTxt" name="projTitle" value="${params.projTitle }" type="text" placeholder="请输入解决方案标题" />
                <input type="hidden" name="projTag" value="${params.projTag }"/>
                <input class="btnSearch" type="submit" value="搜索" />
            </form>
            </div>

            <div class="case_listInfo">
            	<c:forEach items="${ projectList.data}"  var="item">
                <div class="caselist">
                    <a href="${contextPath }/proj/detail.htm?id=${item.projId}">
                        <img src="${contextPath }/${item.projLogopath}" width="210" height="170" /></a>
                    <div class="bottomfont"><a href="${contextPath }/proj/detail.htm?id=${item.projId}">${item.projTitle }</a></div>
                </div>
                </c:forEach>
                
            </div>
        </div>
		<c:if test="${ projectList.totalPages > 1}">
        <mytag:loadmore container=".part_left" msgname="" url="${contextPath }/proj/loadajax.htm" params="${my:toJson(params) }" totalpage="${projectList.totalPages }"></mytag:loadmore>
        </c:if>
    </div>



    <script type="text/javascript">

        $(document).ready(function () {
        	$(window).scroll(function () {
                var sidebar_bottom = $(document).scrollTop();
                console.log(sidebar_bottom);
                if (sidebar_bottom > 700) {
                    $(".fixlogoCase").css("top", "90px");
                    $(".fixlogoCase").css("display", "block");
                } else {



                    $(".fixlogoCase").css("display", "none");
                }

            });
			
        	$(".zd").hover(
                    function () {
                        $(".zd_nextlevel").show();
                    },
                    function () {
                        $(".zd_nextlevel").hide();
                    }
                );
        	
        	 $(".mainProNav dl dt").mouseover(function () {
                 $(".mainProNav dl").removeClass("dlHover");
                 $(this).parent().addClass("dlHover");
             })
             $(".mainProNav").hover(function () {
                 $(this).addClass("mainProNavHover");
             }, function () {
                 $(this).removeClass("mainProNavHover");
                 $(".mainProNav dl").removeClass("dlHover");
             })
        });

    </script>
    
    <%@include file="../common/footer.jsp" %>
</body>
</html>
